package pack;

public class IntEntry {
    private final int key;
    private int value;
    IntEntry next;
    int hash;

    /**
     * Creates new entry.
     */
    IntEntry(int h, int k, int v, IntEntry n) {
        value = v;
        next = n;
        key = k;
        hash = h;
    }
	
	IntEntry(int key, int value) {
		this.key = key;
		this.value = value;
	}
	
	int getKey() {
		return this.key;
	}
	
	Integer getValue()  {
		return this.value;
	}
	
	void setValue(int value) {
		this.value = value;
	}
	
}
